package com.dc.gameserver.serverCore.model.dbsql.mapper;

import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleEqu;
import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleEquExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TRoleEquMapper {
    int countByExample(TRoleEquExample example);

    int deleteByExample(TRoleEquExample example);

    int deleteByPrimaryKey(Integer equid);

    int insert(TRoleEqu record);

    int insertSelective(TRoleEqu record);

    List<TRoleEqu> selectByExample(TRoleEquExample example);

    TRoleEqu selectByPrimaryKey(Integer equid);

    int updateByExampleSelective(@Param("record") TRoleEqu record, @Param("example") TRoleEquExample example);

    int updateByExample(@Param("record") TRoleEqu record, @Param("example") TRoleEquExample example);

    int updateByPrimaryKeySelective(TRoleEqu record);

    int updateByPrimaryKey(TRoleEqu record);
}